package com.telecom.entity;

import lombok.*;
import lombok.experimental.Accessors;

/*@Getter
@Setter*/
@Data
@NoArgsConstructor  //无参构造
@AllArgsConstructor //全参构造
@Accessors(chain = true) //链式风格
public class Student {
    private Integer id;
    private String name;
    private Integer age;
    private String sex;
    private String address;
}
/*
id int primary key auto_increment,
        name varchar(20),
        age int,
        sex varchar(10),
        address varchar(50)*/
